<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script type="text/javascript">

		var a=Math.random()*4+1;
		
		var b=Math.floor(a);
		
		var c=prompt("请输入姓氏");
		
		if(b==1){
			document.write(c+"小明");
		}else if(b==2){
			document.write(c+"碧石");
		}else if(b==3){
			document.write(c+"大常");
		}else if(b==4){
			document.write(c+"尚飞");
		}
	</script>
</html>